package com.atguigu.yygh.host.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author DongYu Zhou
 * @date 2022/6/24 17:16
 */
public interface HospitalService {

    void saveHospital(Map<String, Object> stringObjectMap);

    Hospital hospitalShow(String hoscode);

    Page<Hospital> index(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> show(String id);

    String getHospName(String hoscode);

//    根据医院名称获取医院列表
    List<Hospital> getHosnameLike(String hosname);
//    根据医院编码获取医院详情
    Map<String, Object> getDepVoInfoList(String hoscode);
}
